package com.thinkgem.jeesite.modules.ship.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ship.entity.ShipIllegal;
import com.thinkgem.jeesite.modules.ship.dao.ShipIllegalDao;

/**
 * 船舶违法信息Service
 * @author lgx
 * @version 2016-04-16
 */
@Service
@Transactional(readOnly = true)
public class ShipIllegalService extends CrudService<ShipIllegalDao, ShipIllegal> {

	public ShipIllegal get(String id) {
		return super.get(id);
	}
	
	public List<ShipIllegal> findList(ShipIllegal shipIllegal) {
		return super.findList(shipIllegal);
	}
	
	public Page<ShipIllegal> findPage(Page<ShipIllegal> page, ShipIllegal shipIllegal) {
		return super.findPage(page, shipIllegal);
	}
	
	@Transactional(readOnly = false)
	public void save(ShipIllegal shipIllegal) {
		super.save(shipIllegal);
	}
	
	@Transactional(readOnly = false)
	public void delete(ShipIllegal shipIllegal) {
		super.delete(shipIllegal);
	}
	
}